from django.urls import path

from goods.views import GoodListView, GoodListByTypeView, GoodDetailView, comment_ajax

urlpatterns = [
    path('index/', GoodListView.as_view(), name='index'),
    path('good_list/<pk>/', GoodListByTypeView.as_view(), name='g_list'),
    path('detail/<pk>/', GoodDetailView.as_view(), name='g_detail'),
    path('ajax_good/', comment_ajax)
]